public class Date {
    public int year;
    public int month;
    public int day;

    public void setDate(int y,int m,int d){
        year=y;
        month=m;
        day=d;
    }
    public void printDate(){
        System.out.println(year+"年 "+month+"月 "+day+"日 ");
    }

    public static void main(String[] args) {
        Date date=new Date();
        Date date2=new Date();
        Date date3=new Date();
        date.setDate(2008,8,8);
        date2.setDate(2009,9,9);
        date3.setDate(2010,10,10);
        date.printDate();
        date2.printDate();
        date3.printDate();
    }
}
